package com.dmap.community.po;

import java.io.Serializable;

public class ThemeReport implements Serializable {
    /**
     * 主键
     * 表字段 : community_theme_report.id
     */
    private Long id;

    /**
     * 帖子主键
     * 表字段 : community_theme_report.theme_id
     */
    private Long themeId;

    /**
     * 举报用户id
     * 表字段 : community_theme_report.user_id
     */
    private Long userId;

    /**
     * 举报类型 1-色情 2-侵权 3-骚扰 4-敏感信息 5-垃圾广告 6-其他
     * 表字段 : community_theme_report.type
     */
    private Integer type;

    /**
     * 举报内容
     * 表字段 : community_theme_report.content
     */
    private String content;

    /**
     * 提交的图片
     * 表字段 : community_theme_report.image_url
     */
    private String imageUrl;

    /**
     * 记录时间
     * 表字段 : community_theme_report.create_time
     */
    private Long createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table community_theme_report
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_report
     *
     * @mbggenerated
     */
    public ThemeReport(Long id, Long themeId, Long userId, Integer type, String content, String imageUrl, Long createTime) {
        this.id = id;
        this.themeId = themeId;
        this.userId = userId;
        this.type = type;
        this.content = content;
        this.imageUrl = imageUrl;
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_report
     *
     * @mbggenerated
     */
    public ThemeReport() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.id
     *
     * @return the value of community_theme_report.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.id
     *
     * @param id the value for community_theme_report.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.theme_id
     *
     * @return the value of community_theme_report.theme_id
     *
     * @mbggenerated
     */
    public Long getThemeId() {
        return themeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.theme_id
     *
     * @param themeId the value for community_theme_report.theme_id
     *
     * @mbggenerated
     */
    public void setThemeId(Long themeId) {
        this.themeId = themeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.user_id
     *
     * @return the value of community_theme_report.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.user_id
     *
     * @param userId the value for community_theme_report.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.type
     *
     * @return the value of community_theme_report.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.type
     *
     * @param type the value for community_theme_report.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.content
     *
     * @return the value of community_theme_report.content
     *
     * @mbggenerated
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.content
     *
     * @param content the value for community_theme_report.content
     *
     * @mbggenerated
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.image_url
     *
     * @return the value of community_theme_report.image_url
     *
     * @mbggenerated
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.image_url
     *
     * @param imageUrl the value for community_theme_report.image_url
     *
     * @mbggenerated
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column community_theme_report.create_time
     *
     * @return the value of community_theme_report.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column community_theme_report.create_time
     *
     * @param createTime the value for community_theme_report.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table community_theme_report
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", themeId=").append(themeId);
        sb.append(", userId=").append(userId);
        sb.append(", type=").append(type);
        sb.append(", content=").append(content);
        sb.append(", imageUrl=").append(imageUrl);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}